package com.tcm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tcm.entity.Image;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Guqier
 * @version 1.0
 * @date 2023/7/2 17:09
 */
@Mapper
public interface ImageMapper extends BaseMapper<Image> {

    /**
     * 获取题目图片
     * @param itemId 题目ID
     * @return 图片封装集合
     */
    List<Image> getImagesByItemId(Long itemId);

}
